package com.kate.mall.order.state;

import com.kate.mall.common.constants.OrderStatus;
import com.kate.mall.common.utils.DateProvider;
import com.kate.mall.order.dao.OrderDao;
import com.kate.mall.order.dto.OrderDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description: 退货审核不通过状态
 * @Auther: 新梦想*陈超
 * @Date: 2021/10/30 11:00
 */
@Component
public class ReturnGoodsRejectedOrderState extends AbstractOrderState {

	@Autowired
	public ReturnGoodsRejectedOrderState(DateProvider dateProvider, OrderDao orderDao) {
		super(orderDao,dateProvider);
	}
	@Override
	public Integer getOrderStatus(OrderDTO order) {
		return OrderStatus.REJECT_RETURN_GOODS_APPLY;
	}
}